<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>

</head>
<body>
<form method="post" action="test.php" name="myform" id="myform">
	<input type="text" name="url" id="url" style="width: 600px;" />
	<input type="submit" value="send" />
</form><hr />
<?php 
//$myURL = $_POST["url"];
//$myContain = file_get_contents($_POST["url"]);
echo ereg_replace("[<*>]", "", file_get_contents($_POST["url"]));

?>
<?php echo rand();?>
<form method="post" action="test.php" name="form2" id="form2">
	<input type="text" name="num" id="num" style="width: 200px;" />
	<input type="submit" value="send" />"
</form>
<?php 
$myNum = $_POST["num"];

for ($i=1;$i<=$myNum;$i++) {
	$myArray[$i] = $i;
}

for ($i=1;$i<=$myNum;$i++) {
	$j = (rand() % $myNum) + 1;
	$tmp = $myArray[$i];
	$myArray[$i] = $myArray[$j];
	$myArray[$j] = $tmp;
}

for ($i=1;$i<=$myNum;$i++) {
	echo $myArray[$i] . " ";
}

?>
</body>
</html>